package com.diandi.signature.contract;


import com.diandi.signature.bean.contract.SignatureContract;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 *
 * 合同签章生成服务类
 * @author mwz
 * @create 2017-08-23 13:47
 * @version V1.0.0
 */
public interface SignatureContractService {

    /**
     * 生成合同签章
     * @param request
     * @return
     */
    public Map<String,String> createContract(HttpServletRequest request,String platTradeNo);


    /**
     * 查询合同
     * @param request
     * @return
     */
    public Map<String,String> QueryContract(HttpServletRequest request,String platTradeNo );



    /**
     * 处理回调业务
     * @param request
     * @return
     */
    public String ContractCallBack( String platTradeNo,HttpServletRequest request);

    List<SignatureContract> queryTask();

}
